/*
 * @Author: 张小平
 * @Date:   2025-05-01
 * @Email:  qqshuqian@163.com
 * @Copyright © 2024 aseyun. All rights reserved.
 */
export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "#",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "searchMenuSpan": 6,
    grid: window.isMobile,
    gridSpan: 24,
    menuWidth:450,
    searchEnter:true,
  "column": [

      {
          label: '应用名称',
          prop: 'title',
          "rules": [{
              required: true,
              message: '应用不能为空',
              trigger: 'blur'
          }],
          'search': true,
      },
      {
          "type": "input",
          "label": "应用编码",
          "prop": "app",
          "rules": [{
              required: true,
              message: '应用编码不能为空',
              trigger: 'blur'
          }],
          'search': true,
          "span": 12
      }


            ,
      {
          "type": "select",
          "label": "数据库",
          "prop": "db",
          "rules": [{
              required: true,
              message: '数据库不能为空',
              trigger: 'blur'
          }],
          dicData: [],
          'search': true,
          "span": 12
      }


            ,
        {
      "type": "input",
      "label": "表/视图名",
      "prop": "tableName",
        "rules": [{
            required: true,
            message: '表/视图名不能为空',
            trigger: 'blur'
        }],
        'search': true,
      "span": 12
    },

      {
          type: 'roleTreeChoose',
          component: 'roleTreeChoose',
          prop: 'roleTag',
          display: true,
          disabled: false,
          label: '选择角色',
          hide:true,
          multiple:true,
          span: 24,
      }

    //         ,
    //     {
    //   "type": "input",
    //   "label": "表单ID",
    //   "prop": "formId",
    //   "span": 12
    // }



  ]
}
